package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.annotation.Excel.ColumnType;
import com.ruoyi.common.annotation.Excel.Type;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.Date;


public class Uservo implements Serializable {
     /** 用户ID */
    @Excel(name = "用户序号", type = Type.EXPORT, cellType = ColumnType.NUMERIC, prompt = "用户编号")
    private Long userId;

    /** 用户昵称 */
    @Excel(name = "用户名称")
    private String nickName;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String deptName;

     /** 部门ID */
    private Long deptId;

    /** 角色 */
    @Excel(name = "角色")
    private String roleName;

     /** 角色ID */
    private Long roleId;


    /** 岗位 */
    @Excel(name = "岗位")
    private String postName;

    /** 岗位ID */
    private Long postId;

     /** 评分日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "评分日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ratingDate;

      /** 考核日期 */
    @JsonFormat(pattern = "yyyy-MM")
    @Excel(name = "考核日期", width = 30, dateFormat = "yyyy-MM")
    private String assessDate;

     /** 评价状态 */
    private Integer status;



    public Uservo(Long userId, String nickName, String deptName, Long deptId, String roleName, Long roleId, String postName, Long postId, Date ratingDate, String assessDate, Integer status) {
        this.userId = userId;
        this.nickName = nickName;
        this.deptName = deptName;
        this.deptId = deptId;
        this.roleName = roleName;
        this.roleId = roleId;
        this.postName = postName;
        this.postId = postId;
        this.ratingDate = ratingDate;
        this.assessDate = assessDate;
        this.status = status;
    }
    public Uservo() {}

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public String getPostName() {
        return postName;
    }

    public void setPostName(String postName) {
        this.postName = postName;
    }

    public Long getPostId() {
        return postId;
    }

    public void setPostId(Long postId) {
        this.postId = postId;
    }

    public Date getRatingDate() {
        return ratingDate;
    }

    public void setRatingDate(Date ratingDate) {
        this.ratingDate = ratingDate;
    }

    public String getAssessDate() {
        return assessDate;
    }

    public void setAssessDate(String assessDate) {
        this.assessDate = assessDate;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "Uservo{" +
                "userId=" + userId +
                ", nickName='" + nickName + '\'' +
                ", deptName='" + deptName + '\'' +
                ", deptId=" + deptId +
                ", roleName='" + roleName + '\'' +
                ", roleId=" + roleId +
                ", postName='" + postName + '\'' +
                ", postId=" + postId +
                ", ratingDate=" + ratingDate +
                ", assessDate='" + assessDate + '\'' +
                ", status=" + status +
                '}';
    }
}
